package com.shizi.influx.db.controller;

import com.shizi.influx.db.service.InfluxDbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ShiZi
 * @date 2024/8/20
 * <p>linkgap</p>
 */
@RestController
public class InfluxDbController {
    @Autowired
    private InfluxDbService influxDbService;

    @PostMapping("/")
    public boolean methodName() {
        return influxDbService.insert();
    }
}
